CLASS zcl_datasource_01 DEFINITION
  PUBLIC
  FINAL
  CREATE PUBLIC .

  PUBLIC SECTION.

    INTERFACES if_oo_adt_classrun .
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.



CLASS ZCL_DATASOURCE_01 IMPLEMENTATION.


  METHOD if_oo_adt_classrun~main.
  DATA(lo_fdp_util) = cl_fp_fdp_services=>get_instance( 'ZSD_ONLINE_SHOP_01' ).

    DATA(lv_schema) = lo_fdp_util->get_xsd(  ).

    DATA(lv_schema_xml) =  cl_abap_conv_codepage=>create_in( )->convert( lv_schema ).

    out->write( lv_schema_xml ).
  ENDMETHOD.
ENDCLASS.
